Builder

constructor(context: Context = ApplicationHolder.applicationContext, locationManager: LocationManager? = context.getSystemService( Context.LOCATION_SERVICE, ) as? android.location.LocationManager, googleLocationProviderSettings: GoogleLocationProvider.Settings)

Constructor that uses a GoogleLocationProvider

Parameters

context

the Context in which to manage the location

locationManager

the android.location.LocationManager to manage the location

googleLocationProviderSettings

constructor(context: Context = ApplicationHolder.applicationContext, locationManager: LocationManager? = context.getSystemService( Context.LOCATION_SERVICE, ) as? android.location.LocationManager, createLocationProvider: (BaseLocationManager.Settings) -> LocationProvider)

Parameters

context

the Context in which to manage the location

locationManager

the android.location.LocationManager to manage the location

createLocationProvider